package cn.cangli.mapper;

import cn.cangli.pojo.Clazz;
import cn.cangli.pojo.ClazzQuery;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ClazzMapper {

    List<Clazz> list(ClazzQuery clazzQuery);

    @Delete("delete  from clazz  where id=#{id}")
    void delete(Integer id);
}
